package com.kanshu.ksgb.fastread.doudou.common.business.event;

/**
 *  回到书架的事件
 * Created by wcy on 2017\5\9 0009.
 */

public class ShelfEvent {
    public static final int SELECT_ALL = 0;
    public static final int CANCEL_ALL = 1;
    public static final int DELETE_SHELF_BOOK = 3;
    public static final int DELETE_RECENT_BOOK = 4;
    public static final int ADD_TO_SHELF = 5;
    // 更新书状态
    public static final int UPDATE_BOOK_STATUS = 6;
    // 刷新整个书架
    public static final int REFRESH_SHELF = 7;
    // 刷新最近阅读
    public static final int REFRESH_RECENT = 8;
    // 添加到书架成功
    public static final int ADD_TO_SHELF_SUCCESS = 9;
    // 添加到书架失败
    public static final int ADD_TO_SHELF_FAIL = 10;
    // 从书架中删除成功
    public static final int DEL_FROM_SHELF_SUCCESS = 11;
    // 从书架中删除失败
    public static final int DEL_FROM_SHELF_FAIL = 12;
    public int code;
    public Object obj;
    public ShelfEvent(int code) {
        this.code = code;
    }
}
